package com.aya.aop.cycle;

import com.aya.aop.asp.AopAnnotation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Egg {
    private Chicken chicken;

    public Chicken getChicken() {
        return chicken;
    }

    public void setChicken(Chicken chicken) {
        this.chicken = chicken;
    }

    private static final Logger logger = LoggerFactory.getLogger(Egg.class);

    @AopAnnotation
    public void saHi() {
        logger.info("egg say hi");
    }
}
